﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PersonalExpenseTracker.PersistenceLayer
{
    public class Expense
    {
        public int ExpenseId { get; set; }
        public int CategoryId { get; set; }
        public decimal Amount { get; set; }
        public string Description { get; set; }
        public string CategoryName { get; set; }
        public DateTime Date { get; set; }

        public Expense()
        {
            ExpenseId = -1;
            CategoryId = 1;
            Date = DateTime.Now;
            Amount = 0;
        }
    }
}
